<?php 
include_once(''.P.'/public/header.html');
?>

<script type="text/javascript" src="res/bootstrapplugin/jquery-bootstable.js"></script>
<script type="text/javascript" src="res/menu/jquery-rockmenu.js"></script>
<link rel="stylesheet" type="text/css" href="res/menu/jquery-rockmenu.css">


<script>

function initbody(){
	
	table = $('#viewshow').bootstable({
		url:'index.php?m=party&a=messdata&zxid='+js.request('zxid')+'',method:'get',celleditor:true,tablename:'4',
		cellurl:'index.php',fanye:true,cellurl:'index.php?m=agent&a=savecell',
		columns:[{
			text:'类型',dataIndex:'type'
		},{
			text:'发送人',dataIndex:'sendid',align:'left'
		},{
			text:'接收人',dataIndex:'receid',align:'left'
		},{
			text:'内容',dataIndex:'cont',align:'left',renderer:function(v){
				return jm.base64decode(v);
			}
		},{
			text:'相关文件',dataIndex:'fileid',align:'left'
		},{
			text:'时间',dataIndex:'optdt'
		},{
			text:'ID',dataIndex:'id',sortable:true
		},{
			text:'',dataIndex:'opts',renderer:function(s,d){
				var str='<a class="zhu" href="javascript:;" onclick="deleterecord('+d.id+',4,false)">删</a>';
				return str;
			}
		}]
	});
}

</script>
</head>

<body style="background:#f1f1f1">

<?php 
include_once(''.P.'/public/top.html');
?>

<div align="center">

<div style="width:<?=$maxwidth?>;margin:20px 0px" align="left">
	<div style="color:#cccccc">
		<a href="?m=index" class="zhu"><?=lang('admin.home')?></a> &gt;
		<a href="?m=party" class="zhu"><?=lang('admin.zixuntitle')?></a> &gt;
		<a href="" class="zhu"><?=lang('admin.zixunmess')?></a>
	</div>
	<div style="background-color:white;margin:20px 0px;border:1px #eeeeee solid;min-height:500px;border-radius:5px">
		<div style="padding:10px">
			
			<div id="viewshow"></div>
		</div>
		<div class="blank10"></div>
	</div>
</div>



<?php 
include_once(''.P.'/public/footer.html');
?>
</div>

</body>
</html>